// app.js
App({
  onLaunch() {
    if(!wx.cloud){
      console.log("没有开启云开发...");
    }else{
      wx.cloud.init({
        // env:"env-9g4l9rf15fb6f1f8",
        "database":"env-9g4l9rf15fb6f1f8",
        "storage":"env-9g4l9rf15fb6f1f8",
        "functions":"env-9g4l9rf15fb6f1f8",
        traceUser:true
      })
    }
  },
  globalData: {
    userInfo: null,
    tabIndex:1
  }
})
